

var Agreement = new Vue({
    el:'#login',
    data:{
        hidden:true,
    },
    methods: {
        chs: function () {
            this.hidden=!this.hidden
        },
        login: function () {
            var fork = document.getElementsByClassName('xiaoframe')[0];
            fork.style.display="block"
        },
        none:function(){
            var fork = document.getElementsByClassName('xiaoframe')[0];
            fork.style.display="none"
        },
        gologin:function(){
            if(this.hidden==true){
                location.href="html/homepages.html"
            }else {
                var forks = document.getElementsByClassName('Tips')[0];
                forks.style.display="block"
            }
        },
        neones:function(){
            var forka = document.getElementsByClassName('Tips')[0];
            forka.style.display="none"
        }
    }
})